package com.xmall.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xmall.product.entity.SpuBaseAttr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商品spu属性 Mapper 接口
 * </p>
 *
 * @author xmall
 * @since 2023-11-02
 */
@Mapper
public interface SpuBaseAttrMapper extends BaseMapper<SpuBaseAttr> {

    /**
     * 可检索列表
     */
    List<SpuBaseAttr> searchableList(@Param("spuId") Long spuId);
}
